import React, { memo } from 'react';
import { Table } from 'antd';

import { IProTableProps } from '../types';

export default memo(function ProTable(
  props: IProTableProps<any>
): JSX.Element | null {
  return (
    <>
      <Table bordered rowKey="key" {...props} />
    </>
  );
});
